﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="AddUser.aspx.cs" Inherits="lcs.Web.SysMan.AddUser" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../css/myStyle.css" rel="stylesheet" />
    <style type="text/css">
        .auto-style1 {
            text-align: left;
        }
        .auto-style2 {
            text-align: right;
        }
    </style>    
    <script src="../Scripts/Func.js"></script>
    <script language="javascript" type="text/javascript">
        var id = "";
        function myLoad() {
            id = readID();
            if (id != "") {
                $("#<%# txtdogid.ClientID%>").val(id);
            }            
        }
        $(function () {
            myLoad();
            //setInterval('myLoad();', 5000);

        });
  </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <object id="AuthIE" name="AuthIE" width="0px" height="0px" codebase="../DogAuth.CAB"
        classid="CLSID:05C384B0-F45D-46DB-9055-C72DC76176E3" style="visibility: hidden">
    </object>
<div style=" text-align:center; margin:10px;">

    <table cellSpacing="0" cellPadding="0" width="100%" border="0">
	<tr>
	<td height="25" width="30%" align="right" class="auto-style2">
		用户名
	：</td>
	<td height="25" width="*" align="left" class="auto-style1">
		<asp:TextBox id="txtuser_name" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right" class="auto-style2">
		登录名
	：</td>
	<td height="25" width="*" align="left" class="auto-style1">
		<asp:TextBox id="txtuser_login" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right" class="auto-style2">
		用户密码
	：</td>
	<td height="25" width="*" align="left" class="auto-style1">
		<asp:TextBox id="txtuser_pass" runat="server" Width="200px" TextMode="Password"></asp:TextBox>
        <asp:HiddenField ID="hfpass" runat="server" />
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right" class="auto-style2">
		手机
	：</td>
	<td height="25" width="*" align="left" class="auto-style1">
		<asp:TextBox id="txtuser_mobelPhone" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right" class="auto-style2">
		固定电话
	：</td>
	<td height="25" width="*" align="left" class="auto-style1">
		<asp:TextBox id="txtuser_phone" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right" class="auto-style2">
		传真
	：</td>
	<td height="25" width="*" align="left" class="auto-style1">
		<asp:TextBox id="txtuser_fax" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right" class="auto-style2">
		所属单位
	：</td>
	<td height="25" width="*" align="left" class="auto-style1">
		<asp:TextBox id="txtuser_company" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right" class="auto-style2">
		电子邮件
	：</td>
	<td height="25" width="*" align="left" class="auto-style1">
		<asp:TextBox id="txtuser_email" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
        <tr>
	<td height="25" width="30%" align="right" class="auto-style2">
		加密狗
	：</td>
	<td height="25" width="*" align="left" class="auto-style1">
		<asp:TextBox id="txtdogid" runat="server" Width="200px"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right" class="auto-style2">
		所属角色
	：</td>
	<td height="25" width="*" align="left" class="auto-style1">
		<asp:DropDownList ID="ddl_roles" runat="server">
        </asp:DropDownList>
	</td></tr>
        <tr>
	<td height="25" width="30%" align="right" class="auto-style2">
		所属部门
	：</td>
	<td height="25" width="*" align="left" class="auto-style1">
		<asp:DropDownList ID="ddldep" runat="server">
        </asp:DropDownList>
	</td></tr>
        <tr>
	<td height="25" width="30%" align="right" class="auto-style2">
		所属区域
	：</td>
	<td height="25" width="*" align="left" class="auto-style1">
		<asp:DropDownList ID="ddlarea" runat="server">
        </asp:DropDownList>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right" class="auto-style2">
		备注
	：</td>
	<td height="25" width="*" align="left" class="auto-style1">
		<asp:TextBox id="txtremark" runat="server" Width="385px" Height="171px" 
            TextMode="MultiLine"></asp:TextBox>
	</td></tr>
	<tr>
	<td height="25" width="30%" align="right">
		&nbsp;</td>
	<td height="25" width="*" align="left">
		&nbsp;</td></tr>
</table>

            </td>
        </tr>
        <tr>
            <td class="tdbg" align="center" valign="bottom">
                <asp:Button ID="btnSave" runat="server" Text="保  存"
                    OnClick="btnSave_Click" class="inputbutton"  CssClass="btn"></asp:Button>
                &nbsp;&nbsp;&nbsp;&nbsp;
            </td>
        </tr>
    </table>
</div>
</asp:Content>
